package com.ys.entity.storage;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_LogisticsPaymentTariff", catalog="Id")
public class TccLogisticsPaymentTariff extends BaseEntity<TccLogisticsPaymentTariff> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Bid", nameJava="bid", typeDataBase="varchar")
	private String bid;
	@YsField(nameDataBase="CreateChangeId", nameJava="createChangeId", typeDataBase="bigint")
	private Long createChangeId;
	@YsField(nameDataBase="EffectStock", nameJava="effectStock", typeDataBase="tinyint")
	private Integer effectStock;
	@YsField(nameDataBase="CompanyBankInfoId", nameJava="companyBankInfoId", typeDataBase="bigint")
	private Long companyBankInfoId;
	@YsField(nameDataBase="Vid", nameJava="vid", typeDataBase="varchar")
	private String vid;
	@YsField(nameDataBase="CompanyInfoVid", nameJava="companyInfoVid", typeDataBase="varchar")
	private String companyInfoVid;
	@YsField(nameDataBase="Vyhzh", nameJava="vyhzh", typeDataBase="varchar")
	private String vyhzh;
	@YsField(nameDataBase="Vkhh", nameJava="vkhh", typeDataBase="varchar")
	private String vkhh;
	@YsField(nameDataBase="Vyhzhmc", nameJava="vyhzhmc", typeDataBase="varchar")
	private String vyhzhmc;
	@YsField(nameDataBase="ProviderBid", nameJava="providerBid", typeDataBase="varchar")
	private String providerBid;
	@YsField(nameDataBase="Abbreviation", nameJava="abbreviation", typeDataBase="varchar")
	private String abbreviation;
	@YsField(nameDataBase="ProviderName", nameJava="providerName", typeDataBase="varchar")
	private String providerName;
	@YsField(nameDataBase="TaxNumber", nameJava="taxNumber", typeDataBase="varchar")
	private String taxNumber;
	@YsField(nameDataBase="BankAccountName", nameJava="bankAccountName", typeDataBase="varchar")
	private String bankAccountName;
	@YsField(nameDataBase="OpeningBank", nameJava="openingBank", typeDataBase="varchar")
	private String openingBank;
	@YsField(nameDataBase="AccountNumber", nameJava="accountNumber", typeDataBase="varchar")
	private String accountNumber;
	@YsField(nameDataBase="TotalAmount", nameJava="totalAmount", typeDataBase="decimal")
	private BigDecimal totalAmount;
	@YsField(nameDataBase="IsPublicPay", nameJava="isPublicPay", typeDataBase="tinyint")
	private Integer isPublicPay;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccLogisticsPaymentTariff setId(Long id) {
		this.id = id;
		return this;
	}
	public String getBid() {
		return bid;
	}
	public TccLogisticsPaymentTariff setBid(String bid) {
		this.bid = bid;
		return this;
	}
	public Long getCreateChangeId() {
		return createChangeId;
	}
	public TccLogisticsPaymentTariff setCreateChangeId(Long createChangeId) {
		this.createChangeId = createChangeId;
		return this;
	}
	public Integer getEffectStock() {
		return effectStock;
	}
	public TccLogisticsPaymentTariff setEffectStock(Integer effectStock) {
		this.effectStock = effectStock;
		return this;
	}
	public Long getCompanyBankInfoId() {
		return companyBankInfoId;
	}
	public TccLogisticsPaymentTariff setCompanyBankInfoId(Long companyBankInfoId) {
		this.companyBankInfoId = companyBankInfoId;
		return this;
	}
	public String getVid() {
		return vid;
	}
	public TccLogisticsPaymentTariff setVid(String vid) {
		this.vid = vid;
		return this;
	}
	public String getCompanyInfoVid() {
		return companyInfoVid;
	}
	public TccLogisticsPaymentTariff setCompanyInfoVid(String companyInfoVid) {
		this.companyInfoVid = companyInfoVid;
		return this;
	}
	public String getVyhzh() {
		return vyhzh;
	}
	public TccLogisticsPaymentTariff setVyhzh(String vyhzh) {
		this.vyhzh = vyhzh;
		return this;
	}
	public String getVkhh() {
		return vkhh;
	}
	public TccLogisticsPaymentTariff setVkhh(String vkhh) {
		this.vkhh = vkhh;
		return this;
	}
	public String getVyhzhmc() {
		return vyhzhmc;
	}
	public TccLogisticsPaymentTariff setVyhzhmc(String vyhzhmc) {
		this.vyhzhmc = vyhzhmc;
		return this;
	}
	public String getProviderBid() {
		return providerBid;
	}
	public TccLogisticsPaymentTariff setProviderBid(String providerBid) {
		this.providerBid = providerBid;
		return this;
	}
	public String getAbbreviation() {
		return abbreviation;
	}
	public TccLogisticsPaymentTariff setAbbreviation(String abbreviation) {
		this.abbreviation = abbreviation;
		return this;
	}
	public String getProviderName() {
		return providerName;
	}
	public TccLogisticsPaymentTariff setProviderName(String providerName) {
		this.providerName = providerName;
		return this;
	}
	public String getTaxNumber() {
		return taxNumber;
	}
	public TccLogisticsPaymentTariff setTaxNumber(String taxNumber) {
		this.taxNumber = taxNumber;
		return this;
	}
	public String getBankAccountName() {
		return bankAccountName;
	}
	public TccLogisticsPaymentTariff setBankAccountName(String bankAccountName) {
		this.bankAccountName = bankAccountName;
		return this;
	}
	public String getOpeningBank() {
		return openingBank;
	}
	public TccLogisticsPaymentTariff setOpeningBank(String openingBank) {
		this.openingBank = openingBank;
		return this;
	}
	public String getAccountNumber() {
		return accountNumber;
	}
	public TccLogisticsPaymentTariff setAccountNumber(String accountNumber) {
		this.accountNumber = accountNumber;
		return this;
	}
	public BigDecimal getTotalAmount() {
		return totalAmount;
	}
	public TccLogisticsPaymentTariff setTotalAmount(BigDecimal totalAmount) {
		this.totalAmount = totalAmount;
		return this;
	}
	public Integer getIsPublicPay() {
		return isPublicPay;
	}
	public TccLogisticsPaymentTariff setIsPublicPay(Integer isPublicPay) {
		this.isPublicPay = isPublicPay;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccLogisticsPaymentTariff setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccLogisticsPaymentTariff setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccLogisticsPaymentTariff setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccLogisticsPaymentTariff tccLogisticsPaymentTariff(
		String bid,
		Long createChangeId,
		Integer effectStock,
		Long companyBankInfoId,
		String vid,
		String companyInfoVid,
		String vyhzh,
		String vkhh,
		String vyhzhmc,
		String providerBid,
		String abbreviation,
		String providerName,
		String taxNumber,
		String bankAccountName,
		String openingBank,
		String accountNumber,
		BigDecimal totalAmount,
		Integer isPublicPay,
		Integer status
			) {
		TccLogisticsPaymentTariff entity = new TccLogisticsPaymentTariff();
		entity.setBid(bid);
		entity.setCreateChangeId(createChangeId);
		entity.setEffectStock(effectStock);
		entity.setCompanyBankInfoId(companyBankInfoId);
		entity.setVid(vid);
		entity.setCompanyInfoVid(companyInfoVid);
		entity.setVyhzh(vyhzh);
		entity.setVkhh(vkhh);
		entity.setVyhzhmc(vyhzhmc);
		entity.setProviderBid(providerBid);
		entity.setAbbreviation(abbreviation);
		entity.setProviderName(providerName);
		entity.setTaxNumber(taxNumber);
		entity.setBankAccountName(bankAccountName);
		entity.setOpeningBank(openingBank);
		entity.setAccountNumber(accountNumber);
		entity.setTotalAmount(totalAmount);
		entity.setIsPublicPay(isPublicPay);
		entity.setStatus(status);
		return entity;
	}
}